﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>活动中心</title>
<meta name="Keywords" content="网络购物，网上超市，网上购物，购物，网上商店，购物商城,购物网，超市网,世博会门票购买"/>
<meta name="Description" content="用鼠标逛超市，不用排队，方便实惠送上门，网上购物新生活。"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!--css start-->
<link type="text/css" rel="stylesheet" href="/@V5.Config.TemplatePath/css/base.css"/>
<link type="text/css" rel="stylesheet" href="/@V5.Config.TemplatePath/css/product_detail.css"/>
<!--css end-->
<script src="/@V5.Config.TemplatePath/javascript/jquery.min.js" type="text/javascript"></script>
<script src="/@V5.Config.TemplatePath/javascript/Comon.js" type="text/javascript" charset="UTF-8"></script>
@V5.Html.Partial("includes/tView")
</head>
<body>
@V5.Html.Partial("includes/header") 

@{
    
    var user = (V5_Model.ModelGZUser)Session["isLogin"];

    bool isLogin = false;

    if (user != null)
    {
        isLogin = true;
    }
  


    DataTable dt = V5.GZProduct.Query_By("*", " and IntegralSign=1", " CreateDate desc", 0);
    
    
    }


<!--主要导航区 -->
<!--content start-->
<div class="wrap">
  <div id="salebox" class="clearfix" style="margin: 0 auto">
  <div class="innerbox">
    
    @if (dt == null || dt.Rows.Count == 0)
    {
        <div>暂无数据！</div>
    }
    else
    {
        foreach (DataRow item in dt.Rows)
        {
            <dl class="glist">
              <dt>
                <h3 style="height:40px;overflow:hidden"><a href="@V5.Url.Action("Product/View", new { ID = item["ID"].ToString() })" target="_blank">@item["ProductName"]</a></h3>
              </dt>
              <dd>
                <div class="picshow"> <a href="@V5.Url.Action("Product/View", new { ID = item["ID"].ToString() })" target="_blank" title="" >
                <img src="/@item["PicturePath"]" width="282" height="190" /></a>
                 <div class="buy-mask"></div> 
                </div>
                <a target="_blank" href="@V5.Url.Action("Product/View", new { ID = item["ID"].ToString() })" class="buy-action">
                    @{
                            var price = @item["MaxSalePrice"].ToString();
                            if(price.IndexOf(".")>-1)
                            {
                                price = price.Substring(0,price.IndexOf(".")+3);
                            }
                        }
    		        <span class="main_price"><em>￥</em>@price<span></span></span>
    		        <b class="sbtn"></b>
    				        </a>
              </dd>
            </dl> 
        }   
    }


    </div>
    <div class="clear"></div>
     <div class="mt10"></div>
   

  </div> 


</div>
<!--消费资讯-->
@V5.Html.Partial("includes/Footer") 
</body>
</html>